package com.cloudwise.pollux.user;

import com.cloudwise.pollux.user.controller.UserController;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

/**
 * @author sky
 * @date 2021/2/3 11:59 下午
 */
@Component
@Order(value = 1)
@Slf4j
public class StartService implements ApplicationRunner {
    @Resource
    private UserController userController;

    @Override
    public void run(ApplicationArguments args) throws Exception {
        //userController.registerUser("sdfasdfad");
    }
}
